<?php
class DefaultController extends Controller{
	
	public function filters(){
		return array(
				'accessControl'
		);
	}
	
	public function accessRules(){
		return array(
				array('allow','actions'=>array('index'),'users'=>array('@')),
				array('deny','users'=>array('*'))
		);
	}

/**
 * 后台首页
 */
	public function actionIndex(){
		// p(Yii::app()->user);
		$this->render('index');
	}
}